package com.chinags.system.tJcJcjgJcyqLs.domain;

import com.chinags.common.annotation.Excel;
import com.chinags.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仪器设备历史校验表 t_jc_jcjg_jcyq_ls
 * 
 * @author shichenxing
 * @date 2019-06-20
 */
public class TJcJcjgJcyqLs extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 业务ID */
	private Long jcjgLsId;
	/** 设备信息业务ID */
	private Long jcjgJcyqId;
	/** 校验结果 */
	@Excel(name ="校验结果")
	private String checkResult;
	/** 检测单位 */
	@Excel(name ="检测单位")
	private String checkStation;
	/** 检测日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date checkTime;
	/** 有效日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date validityDate;
	/** 检测证书编号 */
	@Excel(name ="检测证书编号")
	private String certificateNum;
	/** 创建人 */
	private Long createUser;
	/** 操作人 */
	private Long updateUser;
	/** 有效期始 */
	private Date startTime;
	/** 有效期止 */
	private Date endTime;

	public void setJcjgLsId(Long jcjgLsId)
	{
		this.jcjgLsId = jcjgLsId;
	}

	public Long getJcjgLsId() 
	{
		return jcjgLsId;
	}
	public void setJcjgJcyqId(Long jcjgJcyqId) 
	{
		this.jcjgJcyqId = jcjgJcyqId;
	}

	public Long getJcjgJcyqId() 
	{
		return jcjgJcyqId;
	}
	public void setCheckResult(String checkResult) 
	{
		this.checkResult = checkResult;
	}

	public String getCheckResult() 
	{
		return checkResult;
	}
	public void setCheckStation(String checkStation) 
	{
		this.checkStation = checkStation;
	}

	public String getCheckStation() 
	{
		return checkStation;
	}
	public void setCheckTime(Date checkTime) 
	{
		this.checkTime = checkTime;
	}

	public Date getCheckTime() 
	{
		return checkTime;
	}
	public void setCertificateNum(String certificateNum) 
	{
		this.certificateNum = certificateNum;
	}

	public String getCertificateNum() 
	{
		return certificateNum;
	}
	public void setStartTime(Date startTime) 
	{
		this.startTime = startTime;
	}

	public Date getStartTime() 
	{
		return startTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setCreateUser(Long createUser) 
	{
		this.createUser = createUser;
	}

	public Long getCreateUser() 
	{
		return createUser;
	}
	public void setUpdateUser(Long updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Long getUpdateUser() 
	{
		return updateUser;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcjgLsId", getJcjgLsId())
            .append("jcjgJcyqId", getJcjgJcyqId())
            .append("checkResult", getCheckResult())
            .append("checkStation", getCheckStation())
            .append("checkTime", getCheckTime())
            .append("certificateNum", getCertificateNum())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }

	public Date getValidityDate() {
		return validityDate;
	}

	public void setValidityDate(Date validityDate) {
		this.validityDate = validityDate;
	}
}
